// GameEngine.h
class GameEngine {
private:
    Board board;
    Player redPlayer;
    Player blackPlayer;
    Player* currentPlayer;
    
public:
    void startGame(GameMode mode);
    void processMove(int fromRow, int fromCol, int toRow, int toCol);
    bool isGameOver() const;
    Player* getWinner() const;
    void undoMove();
};#pragma once
